package cn.yzgy.yzgyoa;

import cn.yzgy.yzgyoa.common.utils.SnowflakeIdWorker;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.web.servlet.MultipartAutoConfiguration;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * Application 777
 * @author Yqsen
 * @since 2019年8月8日15:54:30
 */
@EnableAsync
@SpringBootApplication
@EnableTransactionManagement
@MapperScan("cn.yzgy.yzgyoa.*.mapper")
public class YzgyApplication {

    public static void main(String[] args) {
        SnowflakeIdWorker.init();
        SpringApplication.run(YzgyApplication.class, args);
    }

}
